package org.ailuoli.guard.domain.entity.base;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * description
 * </p>
 *
 * @author sander 2024/02/12
 */
@Data
public class BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 页码
     */
    @TableField(exist = false)
    private Integer pageIndex = 1;

    /**
     * 每页大小
     */
    @TableField(exist = false)
    private Integer pageSize = 10;

    /**
     * 开始时间
     */
    @TableField(exist = false)
    private Timestamp startTime;

    /**
     * 结束时间
     */
    @TableField(exist = false)
    private Timestamp endTime;

    /**
     * 创建用户
     */
    private Long creator;

    /**
     * 创建时间
     */
    private Timestamp createdAt;

    /**
     * 更新用户
     */
    private Long updator;

    /**
     * 更新时间
     */
    private Timestamp updatedAt;

}
